package com.liuya.safe.entitle.dao;

import com.liuya.base.BaseMapper;
import com.liuya.safe.model.SafeDecisionEntitlement;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SafeDecisionEntitlementMapper extends BaseMapper<SafeDecisionEntitlement> {

    int deleteBy(Map param);

    int deleteByPrimaryKey(String id);

    int insert(SafeDecisionEntitlement record);

    SafeDecisionEntitlement selectByPrimaryKey(String id);

    List<SafeDecisionEntitlement> selectAll();

    int updateByPrimaryKey(SafeDecisionEntitlement record);
}